package br.com.gerenciamento.pg.site.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import br.com.gerenciamento.pg.site.util.Results;
import br.com.gerenciamento.pg.site.util.URLGerenciador;
import br.com.gerenciamento.pg.site.util.URLPattern;


@Controller
public class IndexController {

	@RequestMapping(value=URLGerenciador.INDEX, method=RequestMethod.GET)
	public String index(final ModelMap model){
		
		
		model.addAttribute("sistema", "Start projeto gerenciamento.");
		
		
		return Results.usePageTiles( URLPattern.INDEX );
	}
	
	
}
